<%--
  Created by IntelliJ IDEA.
  User: wmb
  Date: 2024/10/14
  Time: 10:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC"-//W3C//DTD HTML4.01 Transitional//EN""https://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>图书信息</title>
    <style type="text/css">
        #container {
            width: 450px;
            border: solid 1px;
            padding: 20px;
        }

        #title {
            font-size: 16px;
            font-weight: bold;
            color: #3399FF;
        }

        #content {
            font-size: 12px;
            text-align: left;
        }
    </style>
</head>
<body>
<jsp:useBean id="book" class="com.chapter6.javabean.javaBean"></jsp:useBean>
<jsp:useBean id="encodling" class="com.chapter6.javabean.Bean2"></jsp:useBean>
<jsp:setProperty property="*" name="book"/>
<div align="center">
    <div id="container">
        <div id = "title">
            <%= encodling.toString(book.getTitle())%>
        </div>
        <hr>
        <div id="content">
            <%=encodling.toString(book.getContent())%>
        </div>
    </div>
</div>
</body>
</html
